package com.cango.student.Decorator;

public class Milk extends AbstractCoffee {

    public Milk(Coffee coffee) {
        super(coffee);
    }

    @Override
    public int addCash(InterCalculate function) {
        return function.cost() + 5;
    }
}
